//-----------------------------------------------------------------------
//<copyright file="Account.cs" company="MinhSong">
//Copyright (c) MinhSong. All rights reserved.
//</copyright>
//-----------------------------------------------------------------------
using System;
using System.Runtime.Serialization;

namespace PMS.Entity
{
	public class Account: BaseEntity
	{
		#region Variable Declarations

		private string m_ID;
		private string m_Matkhau;
		private string m_Hoten;
		private string m_Diachi;
		private string m_SoDT;
		private string m_Email;
		private string m_Chucvu;
		private string m_Thongtinkhac;
		private int m_Role;

		#endregion

		#region Constructors

		public Account() {}
		public Account(
			string id,
			string matkhau,
			string hoten,
			string diachi,
			string soDT,
			string email,
			string chucvu,
			string thongtinkhac,
			int role)
		{
			m_ID = id;
			m_Matkhau = matkhau;
			m_Hoten = hoten;
			m_Diachi = diachi;
			m_SoDT = soDT;
			m_Email = email;
			m_Chucvu = chucvu;
			m_Thongtinkhac = thongtinkhac;
			m_Role = role;
		}

		#endregion

		#region Properties

		/// <summary>
		///
		/// </summary>
		///<value>This type is string</value>
		[DataMember]
		public string ID
		{
			get { return m_ID; }
			set { m_ID = value;
				OnPropertyChanged("ID");
		}
		}

		/// <summary>
		///
		/// </summary>
		///<value>This type is string</value>
		[DataMember]
		public string Matkhau
		{
			get { return m_Matkhau; }
			set { m_Matkhau = value;
				OnPropertyChanged("Matkhau");
		}
		}

		/// <summary>
		///
		/// </summary>
		///<value>This type is string</value>
		[DataMember]
		public string Hoten
		{
			get { return m_Hoten; }
			set { m_Hoten = value;
				OnPropertyChanged("Hoten");
		}
		}

		/// <summary>
		///
		/// </summary>
		///<value>This type is string</value>
		[DataMember]
		public string Diachi
		{
			get { return m_Diachi; }
			set { m_Diachi = value;
				OnPropertyChanged("Diachi");
		}
		}

		/// <summary>
		///
		/// </summary>
		///<value>This type is string</value>
		[DataMember]
		public string SoDT
		{
			get { return m_SoDT; }
			set { m_SoDT = value;
				OnPropertyChanged("SoDT");
		}
		}

		/// <summary>
		///
		/// </summary>
		///<value>This type is string</value>
		[DataMember]
		public string Email
		{
			get { return m_Email; }
			set { m_Email = value;
				OnPropertyChanged("Email");
		}
		}

		/// <summary>
		///
		/// </summary>
		///<value>This type is string</value>
		[DataMember]
		public string Chucvu
		{
			get { return m_Chucvu; }
			set { m_Chucvu = value;
				OnPropertyChanged("Chucvu");
		}
		}

		/// <summary>
		///
		/// </summary>
		///<value>This type is string</value>
		[DataMember]
		public string Thongtinkhac
		{
			get { return m_Thongtinkhac; }
			set { m_Thongtinkhac = value;
				OnPropertyChanged("Thongtinkhac");
		}
		}

		/// <summary>
		///
		/// </summary>
		///<value>This type is int</value>
		[DataMember]
		public int Role
		{
			get { return m_Role; }
			set { m_Role = value;
				OnPropertyChanged("Role");
		}
		}


		#endregion
	}
}//End Class
